import 'package:flutter/material.dart';
import 'package:flutterprovider/api/api.dart';
import 'package:flutterprovider/bean/user_bean.dart';
import 'package:flutterprovider/providers/count.dart';
import 'package:flutterprovider/providers/themedata.dart';
import 'package:provider/provider.dart';
import 'package:provider/single_child_widget.dart';

List<SingleChildStatelessWidget> providers = [
  Provider<Api>(
    create: (_) => Api(),
  ),
  ChangeNotifierProvider<Count>(
    create: (_) => Count(),
  ),
  ChangeNotifierProvider<Userbean>(
    create: (_) => Userbean(),
  ),
  ChangeNotifierProvider<ThemeDataModel>(
    create: (_) => ThemeDataModel(
      themeType: ThemeType.light,
      themeData: ThemeData.light(),
    ),
  )
];
